// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "CoreMinimal.h"
#include "Blueprint/UserWidget.h"
#include "SessionSetting.generated.h"

/**
 * 
 */
UCLASS()
class MULTIPLAYERSESSIONS_API USessionSetting : public UUserWidget
{
	GENERATED_BODY()

protected:
	virtual bool Initialize() override;
	

private:
	UPROPERTY(meta = (BindWidget))
	class UButton* CreateButton;

	UPROPERTY(meta = (BindWidget))
	UButton* CancelButton;

	UPROPERTY(meta = (BindWidget))
	class UEditableText* EditableText;

	UFUNCTION()
	void CreateButtonClicked();
	UFUNCTION()
	void CancelButtonClicked();

	
	UFUNCTION(BlueprintCallable)
	FString GetPlayerSteamName();

	class UMultiplayerSessionsSubsystem* MultiplayerSessionsSubsystem;
};
